/*
 * Classname: OperatorDao.java
 * 
 * Version information
 *
 * Date: 2007-6-28
 * 
 * Copyright DMX
 */
package com.dmx.fw.dao.interfaces;

import java.util.List;
import com.dmx.fw.bean.mapping.pojo.CacheCode;
import com.dmx.fw.bean.mapping.pojo.Role;

/**
 * Description: Operator Dao
 * 
 * @author Peter Wei
 * @version 1.0 2007-6-28
 */
public interface CacheCodeDao extends Dao {
	/**
	 * 取得“是、否”下拉框的内容
	 * @param 
	 * @return
	 */
	public abstract List getIsCacheList();
	/**
	 * 取得“是、否”
	 * @param 
	 * @return
	 */
	public abstract String getIsCacheTextByCode(String code);
	/**
	 * 根据ID取得一个Cache Code
	 * @param 
	 * @return
	 */
	public abstract CacheCode getOneCacheCode(Long id);
	/**
	 * 根据code取得Cache Code
	 * @param 
	 * @return
	 */
	public abstract List findCacheCode(CacheCode cacheCode);
}
